#pragma once
// -------------------------------------------------
// BlinKit - BlinKit Library
// -------------------------------------------------
//   File Name: page_clients.h
// Description: PageClients Struct
//      Author: Ziming Li
//     Created: 2022-05-01
// -------------------------------------------------
// Copyright (C) 2022 MingYang Software Technology.
// -------------------------------------------------

#ifndef BLINKIT_PAGE_CLIENTS_H
#define BLINKIT_PAGE_CLIENTS_H

#include "blinkit/blink/renderer/wtf/Allocator.h"

namespace blink {

class ChromeClient;
class ContextMenuClient;
class EditorClient;
class DragClient;

struct PageClients final
{
    STACK_ALLOCATED()
    WTF_MAKE_NONCOPYABLE(PageClients);
public:
    PageClients(void) = default;

    ChromeClient *chromeClient = nullptr;
    ContextMenuClient *contextMenuClient = nullptr;
    EditorClient *editorClient = nullptr;
    DragClient *dragClient = nullptr;
};

} // namespace blink

#endif // BLINKIT_PAGE_CLIENTS_H
